package com.bitdf.txing.ware.feign;

import com.bitdf.txing.common.utils.R;
import com.bitdf.txing.ware.config.FeignInterceptor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient(
        name = "tx-mall-order",                 // 服务名称
        configuration = FeignInterceptor.class       // 请求拦截器 （关键代码）
)
public interface WareOrderFeignService {
    @GetMapping("/txing/mall/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
